package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaos
 * @since 2023-04-11
 */
@Getter
@Setter
@TableName("wnsys_log")
@ApiModel(value = "Log对象", description = "")
@AllArgsConstructor
@NoArgsConstructor
public class UserLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String userName;

    private String type;

    private String method;

    private String userIp;

    private String location;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date createTime;

    private Integer status;


}
